<template>
  <!--    搜索框-->
  <div>
    <van-search
      v-model="value"
      placeholder="请输入搜索关键词"
      @focus="screen"
    />
  </div>
</template>

<script>
export default {
  name: "Search",
  data() {
    return {
      value: "",
    };
  },
  methods: {
    screen() {
      this.$router.push('/search');
    },
  },
};
</script>

<style scoped>
</style>